
import { WeElement, define } from 'omi'

import './index.css'

define('page-my_card', class extends WeElement {
  config = {
    navigationBarTitleText: '我的卡包'
  }

  data = {
    wd_vip:"",
    logo:"",
    wd_code:""
  }

  install() {
    this.data.wd_vip = require('../images/wd_vip.png'),
    this.data.wd_code = require('../images/wd_code.png'),
    this.data.logo = require('../images/logo.png'),
    this.update()
  }
  
  render() {
    return (
      <view class="container">
        <view class="content">
          <image class="wd_vip" src={wd_vip}></image>
          <image class="wd_code" src={wd_code}></image>
          <view class="num">NO.0000001</view>
        </view>
        <image class="logo" src={logo}></image>
      </view>
    )
  }
})